//package com.ruyuan.eshop.construction.dao;
//
//import com.ruyuan.eshop.common.dao.BaseDAO;
//import com.ruyuan.eshop.construction.converter.AuditConverter;
//import com.ruyuan.eshop.construction.domain.entity.AuditHistoryDO;
//import com.ruyuan.eshop.construction.domain.entity.AuditInfoDO;
//import com.ruyuan.eshop.construction.domain.request.AuditRequest;
//import com.ruyuan.eshop.construction.mapper.AuditHistoryMapper;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.stereotype.Repository;
//
//import javax.annotation.Resource;
//
///**
// * 审批历史
// *
// * @author zhonghuashishan
// */
//@Repository
//@Slf4j
//public class AuditHistoryDAO extends BaseDAO<AuditHistoryMapper, AuditHistoryDO> {
//
//    @Resource
//    private AuditConverter auditConverter;
//
//    public AuditHistoryDO saveAuditHistory(AuditInfoDO auditInfoDO) {
//        AuditHistoryDO auditHistoryDO = auditConverter.converterHistoryDO(auditInfoDO);
//        this.save(auditHistoryDO);
//        return auditHistoryDO;
//    }
//
//    public void saveAuditHistory(AuditRequest auditRequest) {
//        AuditHistoryDO auditHistoryDO = auditConverter.converterHistoryDO(auditRequest);
//        auditHistoryDO.initCommon();
//        this.save(auditHistoryDO);
//    }
//}
